package gen;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.util.Hashtable;
import java.util.Vector;

/**
 *
 * @author brararzl
 */
public class ClientBT extends Thread
{
    BT clientBt;
    // l'adresse client
    String addrServeur;
    // stream de lecture
    DataInputStream dis;
    // stream d ecriture
    DataOutputStream dos;

    Vector vint;

    public ClientBT()
    {
        clientBt = new BT();
    }
    
    public void run()
    {
        Integer test = new Integer(15);
       clientBt.Client_Cherche_Serveur();

        while(true)
        {
            this.dos = this.clientBt.Client_Ecriture();
            try {
                this.dos.writeInt(test.intValue());
            } catch (IOException ex) {
                ex.printStackTrace();
            }



        }

    }

}
